package com.zonski.jbots.engine;

import java.util.Vector;

/**
 * Contains a group of entities which are related in some way
 */
public final class Layer
{
    private QuickVector entities;
    private int zorder;

    public Layer(int zorder)
    {
        this.entities = new QuickVector();
        this.zorder = zorder;
    }

    public final QuickVector getEntities()
    {
        return this.entities;
    }

    public final int getZOrder()
    {
        return this.zorder;
    }
}
